class Person {
  // 实例属性
  name: string = "悟空"
  // 静态属性
  static age: number = 18
  // 只读属性，不能被修改
  readonly sex: string = "男"
  // 静态只读属性
  static readonly sal: number = 1000
}

class Dog {
  name: string
  age: number
  constructor(name: string = "旺财", age: number) {
    this.name = name
    this.age = age
  }
}

export {
  Person
}